toggle menu
JxBrowser
8.2.0
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.print
/
[jvm]PageMargins
/
CustomMargins
Custom
Margins
public
interface
CustomMargins
implements
PageMargins
Page margins in points. One point equals 1/72 of an inch.
Since
7.13
Members
Functions
bottom
Link copied to clipboard
public
int
bottom
(
)
Returns the margin on the bottom side of the sheet.
default
Margins
Link copied to clipboard
public
static
PageMargins
defaultMargins
(
)
Creates default margins for the web page.
left
Link copied to clipboard
public
int
left
(
)
Returns the margin on the left side of the sheet.
none
Link copied to clipboard
public
static
PageMargins
none
(
)
Creates empty margins for the web page.
of
Link copied to clipboard
public
static
PageMargins.CustomMargins
of
(
int left
,
int right
,
int top
,
int bottom
)
Creates custom margins for the web page in points.
right
Link copied to clipboard
public
int
right
(
)
Returns the margin on the right side of the sheet.
top
Link copied to clipboard
public
int
top
(
)
Returns the margin on the top side of the sheet.